package com.xebest.web.service;


import com.xebest.api.dto.PayUmApplyDTO;
import com.xebest.common.base.controller.BaseResponse;
import com.xebest.web.form.PayUmApplyForm;
import com.xebest.web.view.ErpUserInfo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface PayUmApplyService {

    /**注册企业/个体商户联动链金*/
    BaseResponse addPayUmApplyEnterprise(PayUmApplyForm payUmApplyForm, ErpUserInfo userInfo);
    /**注册个人联动链金*/
    BaseResponse addPayUmApplyPerson(PayUmApplyForm payUmApplyForm, ErpUserInfo userInfo);
    /**绑定银行卡-确认*/
    BaseResponse bindcardConfirm(PayUmApplyForm payUmApplyForm, ErpUserInfo userInfo);
    /**查询商户的联动链金注册信息-*/
    PayUmApplyForm getpayUmApplyByUserCode(String userCode);

    /**查询联动链金注册信息-*/
    BaseResponse getPayUmApplyList(PayUmApplyDTO payUmApplyDTO);
    /**查询所有联动链金注册信息-*/
    List<PayUmApplyDTO> getPayUmApplyListByModel(PayUmApplyDTO payUmApplyDTO);
    /**根据id查询联动链金注册信息-*/
    PayUmApplyForm getPayUmApplyById(Integer id);
    /**审核联动链金注册信息*/
    BaseResponse auditPayUmApply(PayUmApplyDTO payUmApplyDTO, String loginName);
    /**禁用联动链金的注册*/
    BaseResponse disablePayUmApply(PayUmApplyDTO payUmApplyDTO, String loginName);
}
